import request from '@/utils/request'
// 	作业管理
export function listTaskPlanTotal(data) {
	return request({
		url: '/system/tEngineDetectionPlan/selectCountByJobSubmit',
		method: 'post',
		data: data
	})
}
export function listTaskPlan(data) {
	return request({
		url: '/system/tEngineDetectionPlan/selectTEngineDetectionPlanListByJobSubmit',
		method: 'post',
		data: data
	})
}
export function getTaskPlan(data) {
	return request({
		url: '/system/tEngineDetectionPlan/selectById',
		method: 'post',
		data: data
	})
}
export function listTask(data) {
	return request({
		url: '/system/tPlanJobIssue/selectTPlanJobIssueListByApp',
		method: 'post',
		data: data
	})
}
export function getTask(data) {
	return request({
		url: '/system/tPlanJobIssue/selectById',
		method: 'post',
		data: data
	})
}
export function listTaskLog(data) {
	return request({
		url: '/system/tOperateRecode/selectOperateProcessList',
		method: 'post',
		data: data
	})
}
export function listApproveTemp(data) {
	return request({
		url: '/system/tWorkTemplate/list',
		method: 'post',
		data: data
	})
}
export function listApproveUser(data) {
	return request({
		url: '/system/tProcess/selectTProcessCombox',
		method: 'post',
		data: data
	})
}
export function getPile(data) {
	return request({
		url: '/system/tProcess/selectTProcessCombox',
		method: 'post',
		data: data
	})
}
export function updatePile(data) {
	return request({
		url: '/system/tPlanJobIssue/pileInformationInput',
		method: 'post',
		data: data
	})
}
export function startCheck(data) {
	return request({
		url: '/system/tPlanJobIssue/startDetection',
		method: 'post',
		data: data
	})
}
export function endCheck(data) {
	return request({
		url: '/system/tPlanJobIssue/endDetection',
		method: 'post',
		data: data
	})
}
export function deleteCheck(data) {
	return request({
		url: '/system/tPlanJobIssue/invalidPlanJob',
		method: 'post',
		data: data
	})
}
export function uploadPhoto(data) {
	return request({
		url: '/system/tPlanJobIssue/uploadPhoto',
		method: 'post',
		data: data
	})
}
export function listOriginalData(data) {
	return request({
		url: '/system/tRecodeTemp/list',
		method: 'post',
		data: data
	})
}
export function listRealData(data) {
	return request({
		url: '/system/tRecode/list',
		method: 'post',
		data: data
	})
}
export function listTotalData(data) {
	return request({
		url: '/system/tRecodeResult/list',
		method: 'post',
		data: data
	})
}
export function listChartsImg(data) {
	return request({
		url: '/tPlanJobAttachment/list',
		method: 'post',
		data: data
	})
}
export function cancelTask(data) {
	return request({
		url: '/system/tEngineDetectionPlan/cancelJob',
		method: 'post',
		data: data
	})
}
export function confirmTask(data) {
	return request({
		url: '/system/tEngineDetectionPlan/submitJob',
		method: 'post',
		data: data
	})
}
// 报表详情
export function getReport(data) {
	return request({
		url: '/system/tPlanReportCompile/selectById',
		method: 'post',
		data: data
	})
}
// 图表
export function getQsCharts(data) {
	return request({
		url: '/system/tRecodeResult/getQSChartData',
		method: 'post',
		data: data
	})
}
export function getLogQCharts(data) {
	return request({
		url: '/system/tRecodeResult/getSLGQChartData',
		method: 'post',
		data: data
	})
}
export function getLogTCharts(data) {
	return request({
		url: '/system/tRecode/getSLGTChartData',
		method: 'post',
		data: data
	})
}
export function okSafe(data) {
	return request({
		url: '/system/tEngineDetectionPlan/disclosureSubmit',
		method: 'post',
		data: data
	})
}
export function okSign(data) {
	return request({
		url: '/system/tEngineDetectionPlan/disclosureUpdate',
		method: 'post',
		data: data
	})
}
//任务审核
export function listTaskApprove(data) {
	return request({
		url: '/system/tEngineDetectionPlan/selectTEngineDetectionPlanApproveList',
		method: 'post',
		data: data
	})
}
export function getTaskApproveNum(data) {
	return request({
		url: '/system/tEngineDetectionPlan/selectTEngineDetectionPlanApproveCount',
		method: 'post',
		data: data
	})
}
export function okTaskApprove(data) {
	return request({
		url: '/system/tApprove/approveOrder',
		method: 'post',
		data: data
	})
}
//作业审核
export function listJobApprove(data) {
	return request({
		url: '/system/tEngineDetectionPlan/selectTEngineDetectionPlanApproveJobList',
		method: 'post',
		data: data
	})
}
export function getJobApproveNum(data) {
	return request({
		url: '/system/tEngineDetectionPlan/selectTEngineDetectionPlanApproveJobCount',
		method: 'post',
		data: data
	})
}
export function listJobList(data) {
	return request({
		url: '/system/tPlanJobIssue/list',
		method: 'post',
		data: data
	})
}

//报告审核
export function listReportApprove(data) {
	return request({
		url: '/system/tPlanReportCompile/selectTPlanReportCompileApproveList',
		method: 'post',
		data: data
	})
}
export function getReportApproveNum(data) {
	return request({
		url: '/system/tPlanReportCompile/selectTPlanReportCompileApproveCount',
		method: 'post',
		data: data
	})
}
//报告签发
export function listSignApprove(data) {
	return request({
		url: '/system/tPlanReportCompile/selectTPlanReportCompileIssueList',
		method: 'post',
		data: data
	})
}
export function getSignApproveNum(data) {
	return request({
		url: '/system/tPlanReportCompile/selectTPlanReportCompileIssueCount',
		method: 'post',
		data: data
	})
}
//检测机构审核
export function listDeptApprove(data) {
	return request({
		url: '/detection/sysDepartment/selectSysDepartmentApproveList',
		method: 'post',
		data: data
	})
}
export function getDeptApproveNum(data) {
	return request({
		url: '/detection/sysDepartment/selectSysDepartmentApproveCount',
		method: 'post',
		data: data
	})
}
export function okDeptApprove(data) {
	return request({
		url: '/detection/sysDepartment/approveSysDepartment',
		method: 'post',
		data: data
	})
}
export function getDeptMsg(data) {
	return request({
		url: '/detection/sysDepartment/selectById',
		method: 'post',
		data: data
	})
}
// 审批流程
export function listApproveLog(data) {
	return request({
		url: '/system/tOperateRecode/selectOperateProcessList',
		method: 'post',
		data: data
	})
}
// 检测机构首页
export function getCheckMsg(data) {
	return request({
		url: '/system/sysDepartmentPageHome/overviewByApp',
		method: 'post',
		data: data
	})
}
// 检测机构数据
export function listDeptData(data) {
	return request({
		url: '/detection/sysDepartment/list',
		method: 'post',
		data: data
	})
}
// 报告查阅
export function listReport(data) {
	return request({
		url: '/system/tPlanReportCompile/selectTPlanReportCompileByDetectionPlan',
		method: 'post',
		data: data
	})
}
// 不合格报告
export function listReportNo(data) {
	return request({
		url: '/system/tPlanReportCompile/selectTPlanReportCompileByDetectionPlan',
		method: 'post',
		data: data
	})
}
// 单桩检测数据
export function listPile(data) {
	return request({
		url: '/system/tPlanJobIssue/selectTPlanJobIssueOverview',
		method: 'post',
		data: data
	})
}
// 工程检测概况
export function listProject(data) {
	return request({
		url: '/system/tEngineInfo/selectTEngineInfoOverview',
		method: 'post',
		data: data
	})
}
// 工程检测详情
export function getProject(data) {
	return request({
		url: '/system/tEngineInfo/selectById',
		method: 'post',
		data: data
	})
}
// 待办列表
export function listNeed(data) {
	return request({
		url: '/system/sysRegulatorPageHome/todoList',
		method: 'post',
		data: data
	})
}
// 监管数据总览
export function getDataMsg(data) {
	return request({
		url: '/system/sysRegulatorPageHome/overviewByApp',
		method: 'post',
		data: data
	})
}
export function listDeptTotal(data) {
	return request({
		url: '/system/sysRegulatorPageHome/departmentStatisticsByApp',
		method: 'post',
		data: data
	})
}
export function listUserTotal(data) {
	return request({
		url: '/system/sysRegulatorPageHome/userStatisticsByApp',
		method: 'post',
		data: data
	})
}
export function listDevieTotal(data) {
	return request({
		url: '/system/sysRegulatorPageHome/deviceStatisticsByApp',
		method: 'post',
		data: data
	})
}
export function listProjectTotal(data) {
	return request({
		url: '/system/sysRegulatorPageHome/engineStatisticsByApp',
		method: 'post',
		data: data
	})
}
export function listReportTotal(data) {
	return request({
		url: '/system/sysRegulatorPageHome/reportStatisticsByApp',
		method: 'post',
		data: data
	})
}
export function listProjectTask(data) {
	return request({
		url: '/system/tEngineDetectionPlan/selectTEngineDetectionPlanOverview',
		method: 'post',
		data: data
	})
}
export function listProjectReport(data) {
	return request({
		url: '/system/tPlanReportCompile/selectTPlanReportCompileOverview',
		method: 'post',
		data: data
	})
}
export function listProjectFile(data) {
	return request({
		url: '/system/tEngineDocument/list',
		method: 'post',
		data: data
	})
}
// 统计接口
export function listProjectCount(data) {
	return request({
		url: '/system/sysDepartmentPageHome/engineStatisticsByApp',
		method: 'post',
		data: data
	})
}
export function listUserCount(data) {
	return request({
		url: '/system/sysDepartmentPageHome/userStatisticsByApp',
		method: 'post',
		data: data
	})
}
export function listDeviceCount(data) {
	return request({
		url: '/system/sysDepartmentPageHome/deviceStatisticsByApp',
		method: 'post',
		data: data
	})
}
export function listReportCount(data) {
	return request({
		url: '/system/sysDepartmentPageHome/reportStatisticsByApp',
		method: 'post',
		data: data
	})
}
export function getCountMsg(data) {
	return request({
		url: '/system/sysDepartmentPageHome/overview',
		method: 'post',
		data: data
	})
}
export function listTaskFile(data) {
	return request({
		url: '/system/tEngineDetectionPlanDocument/list',
		method: 'post',
		data: data
	})
}
export function listSafeFile(data) {
	return request({
		url: '/system/tEngineDetectionPlanDetail/list',
		method: 'post',
		data: data
	})
}
export function preReportFile(data) {
	return request({
		url: '/system/tPlanReportCompile/reportPreview',
		method: 'post',
		data: data
	})
}
// 校验设备
export function checkDevice(data) {
	return request({
		url: '/system/tPlanJobIssue/checkCollectionDeviceByDeviceIds',
		method: 'post',
		data: data
	})
}
// 校验检测桩数量
export function checkPileNum(data) {
	return request({
		url: '/system/tEngineDetectionPlan/checkJobCount',
		method: 'post',
		data: data
	})
}